package com.yimi.appstore.db;

import android.graphics.drawable.Drawable;

public class AppInfo {
	
	private int id ;
	private String name;
	private String packageName;
	private String versionName;
	private String versionCode;
	private String sourceDir;
	private int size;
	private int transFlag ;
	private int sysFlag ;
	private Drawable icon;
	
	
	public AppInfo(){
		
	}
	
	/**
	 * @param id
	 * @param name
	 * @param packageName
	 * @param versionName
	 * @param versionCode
	 * @param sourceDir
	 * @param size
	 * @param transFlag
	 * @param sysFlag
	 */
	public AppInfo(int id , String name , String packageName , String versionName , String versionCode ,
			String sourceDir , int size , int transFlag , int sysFlag , Drawable icon ) {
		this.id = id;
		this.name = name;
		this.packageName = packageName;
		this.versionName = versionName;
		this.versionCode = versionCode;
		this.sourceDir = sourceDir;
		this.size = size ;
		this.transFlag = transFlag;
		this.sysFlag = sysFlag;
		this.icon = icon;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getPackageName() {
		return packageName;
	}


	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}


	public String getVersionName() {
		return versionName;
	}


	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}


	public String getVersionCode() {
		return versionCode;
	}


	public void setVersionCode(String versionCode) {
		this.versionCode = versionCode;
	}


	public String getSourceDir() {
		return sourceDir;
	}


	public void setSourceDir(String sourceDir) {
		this.sourceDir = sourceDir;
	}


	public int getSize() {
		return size;
	}


	public void setSize(int size) {
		this.size = size;
	}


	public int getTransFlag() {
		return transFlag;
	}


	public void setTransFlag(int transFlag) {
		this.transFlag = transFlag;
	}


	public int getSysFlag() {
		return sysFlag;
	}


	public void setSysFlag(int sysFlag) {
		this.sysFlag = sysFlag;
	}

	public Drawable getIcon() {
		return icon;
	}

	public void setIcon(Drawable icon) {
		this.icon = icon;
	}

}
